-[Not quite correct]-
That's why I said "about 2^-52" not "2^-52". I wasn't going to go into the
details of floating point when it is rendered irrelevant by the fixed-point
form of the random number generator.
-[At most, it may be even less]-
It wouldn't be a 32-bit linear congruential generator if it didn't use
32-bits. I looked at the pov-ray source before I posted to make sure it was
a 32-bit generator, rather than the C library rand() function, which is
often only 15- or 16-bit.
-Chris
Post a reply to this message
|